/*******************************************************************************
* 
* Utility for running process
* 
* 
******************************************************************************/
#pragma once
#include "noria.h"

namespace noria{ namespace diagnostic
{
    class Process
    {
    public:
        // ------------------------------------------------------------------------------------
        // get the current executing process base name
        //
        //  e.g. notepad.exe
        // ------------------------------------------------------------------------------------
        static wstring getBaseName();
       
        // ------------------------------------------------------------------------------------
        // get the current executing process file full name
        //
        //  e.g. C:\Windows\notepad.exe
        // ------------------------------------------------------------------------------------
        static wstring getFileName();
       
        // ------------------------------------------------------------------------------------
        // get the current executing process id
        //
        //  e.g. C:\Windows\notepad.exe
        // ------------------------------------------------------------------------------------
        static int getpid();

        static wstring getModulePath(const wstring& module);
    };

}}